﻿using System;
using BackTask.Model;

namespace BackTask.DashBoard.Models
{
    public class CreateJobRequest
    {
        public TaskBuilderTypes Type { get; set; }
        public string Description { get; set; }
        public string Url { get; set; }
        public string GroupName { get; set; }
        public string Name { get; set; }
        public int Priority { get; set; }
        public string Cron { get; set; }
        public int Interval { get; set; }
        public SimpleTaskJobIntervalTypes IntervalType { get; set; }
        public int ExecuteCount { get; set; }
        public bool RepeatForever { get; set; }
    }
}
